// 网页资源类型
export interface WebSourceType {
  webName: string;
  web: string;
}

// 课程目录类型
export interface CourseFileType {
  sourceId: string;
  courseFileId: string;
  name: string | null;
  parentId: string | null;
  filePath: string | null;
  createdAt: string | null;
  childId: string | null;
  tag: string | null;
  level: number;
  courseId: string | null;
  sortOrder: number | null;
  courseImageUrl: string | null;
  ossWriteStatus: boolean | null;
  transcriptionComplete: boolean | null;
  ragCompleteStatus: boolean | null;
  smartTextStatus: boolean | null;
  transcriptionCompleteStatus: boolean | null;
  handleCompleteStatus: boolean | null;
  web: string | null;
  childFiles: CourseFileType[];
  sourceFiles: SourceFileType[];
  webSources: WebSourceType[];
}

// 文件资源类型
export interface SourceFileType {
  sourceId: string;
  name: string;
  sourcePath: string | null;
  createdAt: string;
  courseId: string | null;
  tag: string;
  ossWriteStatus: boolean;
  transcriptionComplete: boolean;
  ragCompleteStatus: boolean;
  smartTextStatus: boolean;
  transcriptionCompleteStatus: boolean;
  handleCompleteStatus: boolean;
  web: string | null;
  sortOrder: number | null;
  courseFileId: string;
}
